package com.xit.cloud.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xit.cloud.entity.user;
import com.xit.cloud.mappers.userMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author malguy-wang sir
 * @create ---
 */
@Service
public class adminService {
    @Autowired
    public userMapper userMapper;
    public List<user> selectAllUser(){
        QueryWrapper<user> wrapper = new QueryWrapper<>();
        List<user> list = userMapper.selectList(null);
        return list;
    }
}
